import turtle
import math

# 开始进入Python的世界
cnt = 6
turtle.setheading((-90))
turtle.pensize(12)
turtle.forward(300)
turtle.speed(100)
turtle.pencolor("#33cc00")
turtle.pensize(5)
turtle.penup()
turtle.goto(0, 0)
turtle.pendown()
for i in range(0, cnt):
    turtle.fillcolor("#33cc00")
    turtle.goto(0, 0)
    turtle.begin_fill()
    turtle.setheading((-90))
    turtle.left(((i * 360) / cnt))
    turtle.forward(100)
    turtle.circle((100 * math.sin(math.radians((180 / cnt)))), (180 + 360 / cnt))
    turtle.end_fill()
turtle.goto(0, 0)
turtle.pencolor("#ffcc33")
turtle.fillcolor("#ffcc33")
turtle.begin_fill()
turtle.setheading(0)
turtle.goto(0, (-40))
turtle.circle(40)
turtle.end_fill()
turtle.done()
